﻿using UnityEngine;

public abstract class FieldElement : IElement {
	// === Public =====================================================================================================
	#region IElement
	public ElementType ElementType { get; set; }
	public Vector3 Position { get; set; }
	public GameObject GameObject { get; set; }
	#endregion

	public FieldElementType FieldElementType { get; set; }
	

	public void PerformCollision() {
		FieldElementBehavior.DoCollision();
	}

	// === Protected ==================================================================================================
	protected IFieldElementBehavior FieldElementBehavior;
}